﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace masterview.Code.models
{
    public class CmsDocsServiceExtendedInstanceModel : CmsDocsServiceInstanceModel
    {
        private List<CmsDocsServiceUsedInstanceInformationModel> _usedInstances;

        public CmsDocsServiceExtendedInstanceModel(long id, long installId, bool isActive, string name, string description, string ownerName, string ownerEmail, string url)
            : base(id, installId, isActive, name, description, ownerName, ownerEmail, url)
        {
            _usedInstances = new List<CmsDocsServiceUsedInstanceInformationModel>();
        }

        public List<CmsDocsServiceUsedInstanceInformationModel> UsedInstances
        {
            get { return _usedInstances; }
            set { _usedInstances = value; }
        }
    }
}